﻿using System.Web.UI;
using OpenWaves;
using OpenWaves.Web.Controls;

[assembly: WebResource(WebResources.GoogleMapControl, ContentTypes.Text.JavaScript)]
[assembly: WebResource(WebResources.PLUploadScript, ContentTypes.Text.JavaScript)]
[assembly: WebResource(WebResources.UploadControl, ContentTypes.Text.JavaScript)]
[assembly: WebResource(WebResources.PLUploadFlash, ContentTypes.Application.Flash)]
[assembly: WebResource(WebResources.PLUploadSilverlight, ContentTypes.Application.Silverlight)]

namespace OpenWaves.Web.Controls
{
    public static class WebResources
    {
        public const string GoogleMapControl = "OpenWaves.Web.Controls.GoogleMapControl.js";

        public const string PLUploadScript = "OpenWaves.Web.Controls.plupload.full.js";
        public const string PLUploadFlash = "OpenWaves.Web.Controls.plupload.flash.swf";
        public const string PLUploadSilverlight = "OpenWaves.Web.Controls.plupload.silverlight.xap";
        public const string UploadControl = "OpenWaves.Web.Controls.UploadControl.js";

        public static readonly AbsoluteUrl GoogleMapsApiScriptUrl = Url.ParseAbsolute("http://maps.google.com/maps/api/js?sensor=false");
        public static readonly AbsoluteUrl GoogleMapsStaticApiScriptUrl = Url.ParseAbsolute("http://maps.google.com/maps/api/staticmap");

        public static readonly AbsoluteUrl JQueryScriptUrl = Url.ParseAbsolute("http://code.jquery.com/jquery-1.6.4.min.js");
    }
}